<?php
$GLOBALS['GV_IMAGE_PATH'] = 'website/';
if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) {
	Util::setGlobalValue('site_name',$_POST['site_name']);
	Util::setGlobalValue('site_url',$_POST['site_url']);
	if ( strlen($_POST['ajaxf_banner']) > 0) {
		$GLOBALS['APP_INSTANCE']->saveUploadedFile($_POST['ajaxf_banner'], $GLOBALS['GV_IMAGE_PATH'] );
		Util::setGlobalValue('site_banner',$_POST['ajaxf_banner']);
	}
}
?>